package com.alisls.shequtao.service.goods.service;

import com.alisls.shequtao.common.service.BaseService;
import com.alisls.shequtao.service.goods.dto.SpecParamDTO;
import com.alisls.shequtao.service.goods.entity.SpecParamDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 描述
 *
 * @author Ke Wang
 */
public interface SpecParamService extends IService<SpecParamDO>, BaseService<SpecParamDO, SpecParamDTO> {

    List<SpecParamDTO> listSpecParamsByCategoryIdAndSpecGroupId(Long categoryId, Long specGroupId);

    List<SpecParamDTO> getSpecParamsBySpecGroupId(Long specGroupId);

    void saveSpecParamWithSpecGroup(SpecParamDTO specParamDTO);

}
